package org.csu.onlineedubackend.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.util.List;

@TableName("survey_question")
@Data
public class SurveyQuestion {
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    private Integer surveyId;
    
    private String questionText;
    
    private String questionType; // single_choice、multiple_choice、text、rating
    
    private Integer sortOrder;
    
    // 非数据库字段
    @TableField(exist = false)
    private List<SurveyOption> options; // 选项列表
} 